package com.xingkong.product.domain;


import com.xingkong.common.annotation.Excel;
import com.xingkong.common.core.domain.BaseEntity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.experimental.Accessors;

/**
 * 商品入库记录表 prdt_product_stock_enter
 *
 * @author yiyue
 * @date 2020-03-15
 */
@Data
@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("prdt_product_stock_enter")
public class ProductStockEnter extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @TableId("id")
    private Long id;

    /**
     * 商品编号
     */
    @Excel(name = "商品编号")
    private Long stockId;

    /**
     * 店铺编号
     */
    @Excel(name = "店铺编号")
    private Long shopId;

    /**
     * 批次号
     */
    @Excel(name = "批次号")
    private String productSn;

    /**
     * 入库数量
     */
    @Excel(name = "入库数量")
    private Long stock;

    /**
     * 市场价
     */
    @Excel(name = "市场价")
    private Double marketPrice;

    /**
     * 进货价
     */
    @Excel(name = "进货价")
    private Double buyPrice;

    /**
     * 成本价
     */
    @Excel(name = "成本价")
    private Double costPrice;

}